package com.ruoyi.animalManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笼位管理对象 lmit_cage
 * 
 * @author wj
 * @date 2025-08-17
 */
public class LmitCage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笼位编码 */
    private Long cageId;

    /** 笼位名称 */
    @Excel(name = "笼位名称")
    private String cageName;

    /** 笼架类型 */
    @Excel(name = "笼架类型")
    private String cageRack;

    /** 笼架名称 */
    @Excel(name = "笼架名称")
    private String rackName;

    /** 动物ID */
    @Excel(name = "动物ID")
    private String animalId;

    /** 在笼数量 */
    @Excel(name = "在笼数量")
    private Long animalNum;

    /** 最大容量 */
    @Excel(name = "最大容量")
    private Long cageMaxNum;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long userId;

    /** 所属人员 */
    @Excel(name = "所属人员")
    private String userName;

    /** 实验ID */
    @Excel(name = "实验ID")
    private Long exId;

    /** 所属实验 */
    @Excel(name = "所属实验")
    private String exName;

    /** 课题ID */
    @Excel(name = "课题ID")
    private Long topicId;

    /** 所属课题 */
    @Excel(name = "所属课题")
    private String topicName;

    /** 笼位类型 */
    @Excel(name = "笼位类型")
    private String cageType;

    /** 笼位位置 */
    @Excel(name = "笼位位置")
    private String position;

    /** 安全等级 */
    @Excel(name = "安全等级")
    private String safetyLevel;

    /** 环境等级 */
    @Excel(name = "环境等级")
    private String envLevel;

    /** 楼栋ID */
    private Long buildingId;

    /** 所属区域（来自楼栋表） */
    private String region;

    /** 楼栋名称（来自楼栋表） */
    private String buildingName;

    /** 楼层号（来自楼栋表） */
    private String floors;

    /** 房间号（来自楼栋表） */
    private String roomNo;

    /** 笼位状态编码 */
    private Long cageStatusCode;

    /** 笼位状态 */
    @Excel(name = "笼位状态")
    private String cageStatus;

    /** 删除状态
删除状态0正常 2停用 */
    private String delFlag;

    public void setCageId(Long cageId) 
    {
        this.cageId = cageId;
    }

    public Long getCageId() 
    {
        return cageId;
    }

    public void setCageName(String cageName) 
    {
        this.cageName = cageName;
    }

    public String getCageName() 
    {
        return cageName;
    }

    public void setCageRack(String cageRack) 
    {
        this.cageRack = cageRack;
    }

    public String getCageRack() 
    {
        return cageRack;
    }

    public void setRackName(String rackName) 
    {
        this.rackName = rackName;
    }

    public String getRackName() 
    {
        return rackName;
    }

    public void setAnimalId(String animalId) 
    {
        this.animalId = animalId;
    }

    public String getAnimalId() 
    {
        return animalId;
    }

    public void setAnimalNum(Long animalNum) 
    {
        this.animalNum = animalNum;
    }

    public Long getAnimalNum() 
    {
        return animalNum;
    }

    public void setCageMaxNum(Long cageMaxNum) 
    {
        this.cageMaxNum = cageMaxNum;
    }

    public Long getCageMaxNum() 
    {
        return cageMaxNum;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setExId(Long exId) 
    {
        this.exId = exId;
    }

    public Long getExId() 
    {
        return exId;
    }

    public void setExName(String exName) 
    {
        this.exName = exName;
    }

    public String getExName() 
    {
        return exName;
    }

    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }

    public void setTopicName(String topicName) 
    {
        this.topicName = topicName;
    }

    public String getTopicName() 
    {
        return topicName;
    }

    public void setCageType(String cageType) 
    {
        this.cageType = cageType;
    }

    public String getCageType() 
    {
        return cageType;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setSafetyLevel(String safetyLevel) 
    {
        this.safetyLevel = safetyLevel;
    }

    public String getSafetyLevel() 
    {
        return safetyLevel;
    }

    public void setEnvLevel(String envLevel) 
    {
        this.envLevel = envLevel;
    }

    public String getEnvLevel() 
    {
        return envLevel;
    }

    public void setCageStatusCode(Long cageStatusCode) 
    {
        this.cageStatusCode = cageStatusCode;
    }

    public Long getCageStatusCode() 
    {
        return cageStatusCode;
    }

    public void setCageStatus(String cageStatus) 
    {
        this.cageStatus = cageStatus;
    }

    public String getCageStatus() 
    {
        return cageStatus;
    }

    public void setBuildingId(Long buildingId)
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId()
    {
        return buildingId;
    }

    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getRegion()
    {
        return region;
    }

    public void setBuildingName(String buildingName)
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName()
    {
        return buildingName;
    }

    public void setFloors(String floors)
    {
        this.floors = floors;
    }

    public String getFloors()
    {
        return floors;
    }

    public void setRoomNo(String roomNo)
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo()
    {
        return roomNo;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cageId", getCageId())
            .append("cageName", getCageName())
            .append("cageRack", getCageRack())
            .append("rackName", getRackName())
            .append("animalId", getAnimalId())
            .append("animalNum", getAnimalNum())
            .append("cageMaxNum", getCageMaxNum())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("exId", getExId())
            .append("exName", getExName())
            .append("topicId", getTopicId())
            .append("topicName", getTopicName())
            .append("cageType", getCageType())
            .append("position", getPosition())
            .append("safetyLevel", getSafetyLevel())
            .append("envLevel", getEnvLevel())
            .append("buildingId", getBuildingId())
            .append("region", getRegion())
            .append("buildingName", getBuildingName())
            .append("floors", getFloors())
            .append("roomNo", getRoomNo())
            .append("cageStatusCode", getCageStatusCode())
            .append("cageStatus", getCageStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
